import { fetchAreas } from "@/api/common";

export default {
  data() {
    return {
      hospitalOptions: [],
    };
  },
  mounted() {
    this.fetchAreas();
  },
  methods: {
    fetchAreas() {
      fetchAreas().then((res) => {
        this.hospitalOptions = res;
      });
    },
  },
};
